package com.lanchetech.dao;

import com.lanchetech.entity.TenantConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TenantConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TenantConfig record);

    int insertSelective(TenantConfig record);

    TenantConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantConfig record);

    int updateByPrimaryKey(TenantConfig record);

    int insert2(TenantConfig record);

    List<TenantConfig> findAll();

    TenantConfig findOneByTenantIdAndName(@Param("tenantId")Long tenantId,@Param("name")String name);




}